@echo off

set ToolPath=%CD%
set LocalResPath=%CD%\..\build\web-mobile
set RemoteResPath=%ToolPath%\RemoteRes\web-mobile

C:\CocosDashboard_1.1.1\resources\.editors\Creator\2.4.8\CocosCreator.exe --path %ToolPath%\.. --build "platform=web-mobile;startScene=620c515a-a990-440a-b814-cb0690fd45a9;md5Cache=true;template=default;inlineSpriteFrames=true;webOrientation=auto;embedWebDebugger=false;debug=false;sourceMaps=false;"

cd %RemoteResPath%
rd %RemoteResPath% /s /q
md %RemoteResPath%
echo d|xcopy %LocalResPath% %RemoteResPath% /s/e/y

pause
exit